package com.jydd.singlekotlinmvvm.comm.extensions

import android.view.View
import com.google.android.material.snackbar.Snackbar

/**
 * created by 韦敏敏
 * on 2020/1/21
 */
fun View.showSnackbar(message : String){
    Snackbar.make(this, message, Snackbar.LENGTH_SHORT)
        .show()
}